package com.hmdp.utils;

/**
 * @author zcf
 */
public interface ILock {

    /* 尝试获取锁*/
    boolean tryLock(long timeOutSec);

    /*释放锁*/

   void unlock();
}
